package main;

import attacks.LightningBoltAttack;
import characters.Gorgon;
import characters.Minotaur;
import characters.Monster;
import characters.Player;
import characters.Warrior;
import characters.Wizard;
/**
 * @author serge.herkyl
 * s.herkyl@gmail.com
 * 093474
 * IAPB41
 */
public class Program {
   
   public static void main(String[] args) {
      Player warrior = new Warrior("Shar-Teel");
      Player wizard = new Wizard("Quayle");
      
      Monster minotaur = new Minotaur("Asterion", 2);
      Monster gorgon = new Gorgon("Euryale", 3);
      
      warrior.attack(minotaur);
      warrior.attack(gorgon);
      
      wizard.attack(minotaur);
      wizard.attack(gorgon);
      
      wizard.setAttackMethod(new LightningBoltAttack());
      wizard.attack(gorgon); //gorgon sureb
      
      warrior.attack(minotaur); //minotaur sureb
   }
   
}
